ISCPropertyValue::ValueId Arguments

Here is the signature for the ValueId function:

VARIANT ValueId(VARIANT ValueType)

The following table contains the valid arguments for the ValueId function:

Parameter

Valid Type/Value

Description

ValueType [optional]

VT_I4 � SCVT_I2 or SCVT_I4

Returns VT_EMPTY if property is scalar. If it is non-scalar, the value of the zero-based index of the property is returned.

ValueType [optional]

VT_I4 � SCVT_BSTR

Returns VT_EMPTY if the property is scalar, returns the name of the non-scalar property member if it is available, or else it returns the index of the member.

ValueType [optional]

VT_I4 � SCVT_DEFAULT

Returns VT_EMPTY if the property is scalar. If it is non-scalar, the value of the zero-based index of the property is returned.

ValueType [optional]

Empty

Defaults to SCVT_Default.